package com.ssy.lingxi.contract.model.vo.sign.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 平台方签署合同请求实体
 * @author yzc
 * @version 2.0.0
 * @date 2020/9/15
 */
public class PlatformSignRequest implements Serializable {

    private static final long serialVersionUID = -4981466323002092808L;

    /**
     * 合同名称
     */
    @NotEmpty(message = "合同名称不能为空")
    private String contractName;

    /**
     * 合同文件url
     */
    @NotEmpty(message = "合同文件url不能为空")
    private String contractUrl;

    /**
     * 采购会员id
     */
    @NotNull(message = "采购会员id不能为空")
    private Long memberId;

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }
}
